package com.frejoys.common.dto.common.platform;

import com.frejoys.common.dto.common.IdDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;


@Data
public class PlatformUpDto extends IdDto {

    @Schema(type = "Integer", name = "storeCashTime", description = "商家提现时间设置，秒", required = true, defaultValue = "10")
    private Integer storeCashTime;

    @Schema(type = "Integer", name = "userCashTime", description = "用户提现时间设置，秒", required = true, defaultValue = "10")
    private Integer userCashTime;

    @Schema(type = "Float", name = "promotionUserRatio", description = "佣金比例占推广比例的百分比", required = true, defaultValue = "10")
    private Float commissionRatio;

    @Schema(type = "Float", name = "promotionUserRatio", description = "达人一级推荐分成比例，百分比，剩余部分时二级的", required = true, defaultValue = "10")
    private Float promotionUserRatio;

    @Schema(type = "Float", name = "bankCashChargesRatio", description = "交易手续费比例，千分", required = true, defaultValue = "10")
    private Float bankCashChargesRatio;

    @Schema(type = "Float", name = "userCashChargesRatio", description = "用户提现手续费比例", required = true, defaultValue = "10")
    private Float userCashChargesRatio;

    @Schema(type = "BigDecimal", name = "cashMoney", description = "最小提现额度限制", required = true, defaultValue = "10")
    private BigDecimal cashMoney;

}
